package com.cn.jinl.dao;

import com.cn.jinl.domain.AbandonMaterialHandle;
import com.cn.jinl.domain.AbandonMaterialHandleExample;
import java.util.List;

import com.cn.jinl.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface AbandonMaterialHandleMapper {
    int countByExample(AbandonMaterialHandleExample example);

    int deleteByExample(AbandonMaterialHandleExample example);

    int insert(AbandonMaterialHandle record);

    int insertSelective(AbandonMaterialHandle record);

    List<AbandonMaterialHandle> selectByExample(AbandonMaterialHandleExample example);

    List<AbandonMaterialHandle> selectAbandonMaterialHandleList(QueryForm queryForm);
    int selectAbandonMaterialHandleListCount(QueryForm queryForm);
    int batchInsertAbandonHandle(@Param("itemList") List<AbandonMaterialHandle> records);

    List<AbandonMaterialHandle> selectYearTotalOutWeight(QueryForm queryForm);
    List<AbandonMaterialHandle> selectYearAllTotalOutWeight(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") AbandonMaterialHandle record, @Param("example") AbandonMaterialHandleExample example);

    int updateByExample(@Param("record") AbandonMaterialHandle record, @Param("example") AbandonMaterialHandleExample example);
}